package com.seventh.restaurant.service;

import com.seventh.restaurant.domain.Customer;

import java.util.List;

public interface CustomerService {

    //新增顾客
    Customer insertNewCustomer(Customer customer) throws Exception;

    //删除顾客
    void deleteCustomer(Long id);


    //修改顾客信息
    Customer updateCustomer(Customer customer);

    //查询某个顾客信息
    Customer findCustomer(String phoneNumber) throws Exception;


    //查询所有顾客
    List<Customer> findAllCustomers() throws Exception;
}
